home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / Exec / resident.h < prev    next >
C/C++ Source or Header  |  1996-09-10  |  1KB  |  58 lines

  1. #ifndef EXEC_RESIDENT_H
  2. #define EXEC_RESIDENT_H 1
  3. /*
  4. ** resident.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/02/95
  11. **
  12. **
  13. */
  14.  
  15. /*
  16. ** This are the StructPointer defines for resident.h
  17. */
  18. #ifndef ResidentPtr
  19. #define ResidentPtr ADDRESS
  20. #endif
  21. /*
  22. ** End of StructPointer defines for resident.h
  23. */
  24.      
  25. #ifndef EXEC_TYPES_H
  26. #include <exec/types.h>
  27. #endif /* EXEC_TYPES_H */
  28.  
  29.  
  30.  
  31.  
  32. STRUCT Resident  
  33.     SHORTINT rt_MatchWord  /* SHORTINT to match on (ILLEGAL)   */
  34.     ResidentPtr  rt_MatchTag  /* pointer to the above   */
  35.     ADDRESS  rt_EndSkip        /* address to continue scan */
  36.     BYTE  rt_Flags      /* various tag flags        */
  37.     BYTE  rt_Version        /* release version number   */
  38.     BYTE  rt_Type       /* type of module (NT_XXXXXX)   */
  39.     BYTE  rt_Pri        /* initialization priority */
  40.     ADDRESS   rt_Name      /* pointer to node name */
  41.     ADDRESS   rt_IdString  /* pointer to identification string */
  42.     ADDRESS  rt_Init       /* pointer to init code */
  43. END STRUCT 
  44.  
  45. #define RTC_MATCHWORD   &H4AFC  /* The 68000 "ILLEGAL" instruction */
  46.  
  47. #define RTF_AUTOINIT    (128)  /* rt_Init points to data structure */
  48. #define RTF_AFTERDOS    (4)
  49. #define RTF_SINGLETASK  (2)
  50. #define RTF_COLDSTART   (1)
  51.  
  52. /* Compatibility: (obsolete) */
  53. /* #define RTM_WHEN    3 */
  54. #define RTW_NEVER   0
  55. #define RTW_COLDSTART   1
  56.  
  57. #endif  /* EXEC_RESIDENT_H */
  58.